package net.dfx.iot_download_tool.utils;

import javax.net.ssl.SSLContext;
import javax.net.ssl.TrustManager;
import java.security.SecureRandom;

public class SSLUtil {
    public static SSLContext createAll() throws Exception {
        SSLContext sc = SSLContext.getInstance("SSL");
        sc.init(null, new TrustManager[] {new TrustAllManager()}, new SecureRandom());
        return sc;
    }
}
